package com.boot.system.entity;

import com.boot.common.entity.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 定时任务
 */
@Getter
@Setter
@Accessors(chain = true)
@Table(value = "sys_job")
public class SysJob extends BaseEntity {

    /**
     * 任务名称
     */
    @Column(value = "name")
    private String name;

    /**
     * cron表达式
     */
    @Column(value = "cron")
    private String cron;

    /**
     * 执行类地址
     */
    @Column(value = "class_path")
    private String classPath;

    /**
     * 状态 1启用 0停止
     */
    @Column(value = "status")
    private Integer status;

    /**
     * 备注
     */
    @Column(value = "remark")
    private String remark;


}
